MindFusion.Wpf Pack Programmer's Guide
ShapeDecoration Constructor
See Also
 





Initializes a new instance of the ShapeDecoration class.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public ShapeDecoration (
    ElementTemplate[] elements,
    Brush brush,
    FillRule fillMode,
    Pen pen
)

Visual Basic  Copy Code

Public New ( _
    elements() As ElementTemplate, _
    brush As Brush, _
    fillMode As FillRule, _
    pen As Pen _
)

 Parameters

elements
An array of ElementTemplate objects that define the decoration shape outline.
brush

A Brush object used to fill the decoration shape interior.

fillMode

Specifies how areas are filled if the outline path intersects itself.

pen

A Pen object used to draw the decoration shape outline.

 See Also

ShapeDecoration Class
MindFusion.Diagramming.Wpf Namespace